correctEntry

Corrects an attempted input, as possible. When correction isn't possible or deterministic, simply validate the entry the same way you would for EntryValidator

Return

ValidationResult with correct

Author

fzzyhmstrs

Since

0.2.0

Parameters

input

T the attempted input

type

EntryValidator.ValidationType Whether this correction should weakly try to correct, or strongly. Weak correction is used during deserialization, as things like Registries may not be ready yet. Strong correction is used in-game.